import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//挂载接口
import api from '../src/api/api.js'
import './mock/index.ts' // //引入mock数据，关闭则注释该行
Vue.use(api)

// ElementUI插件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

// 全局挂载eleForm
import eleForm from 'vue-ele-forms'
import 'vue-ele-forms/elementForm.css'
Vue.component('eleForm', eleForm)



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
